<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SYMMETRY: tree::btree_preorder_iterator&lt; T, N &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SYMMETRY
   </div>
   <div id="projectbrief">C++LIBRARYFORSCIENTIFICCOMPUTATION</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classtree_1_1btree__preorder__iterator.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classtree_1_1btree__preorder__iterator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">tree::btree_preorder_iterator&lt; T, N &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="binary__tree__iter_8h_source.html">binary_tree_iter.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for tree::btree_preorder_iterator&lt; T, N &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classtree_1_1btree__preorder__iterator__inherit__graph.png" border="0" usemap="#tree_1_1btree__preorder__iterator_3_01T_00_01N_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="tree_1_1btree__preorder__iterator_3_01T_00_01N_01_4_inherit__map" id="tree_1_1btree__preorder__iterator_3_01T_00_01N_01_4_inherit__map">
<area shape="rect" id="node2" href="classtree_1_1btree__iterator.html" title="{tree::btree_iterator\l\&lt; T, N \&gt;\n|# m_Current\l|# btree_iterator()\l# btree_iterator()\l# equal()\l# dereference()\l# increment()\l}" alt="" coords="59,161,197,311"/></map>
</div>
<div class="dynheader">
Collaboration diagram for tree::btree_preorder_iterator&lt; T, N &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classtree_1_1btree__preorder__iterator__coll__graph.png" border="0" usemap="#tree_1_1btree__preorder__iterator_3_01T_00_01N_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="tree_1_1btree__preorder__iterator_3_01T_00_01N_01_4_coll__map" id="tree_1_1btree__preorder__iterator_3_01T_00_01N_01_4_coll__map">
<area shape="rect" id="node2" href="classtree_1_1btree__iterator.html" title="{tree::btree_iterator\l\&lt; T, N \&gt;\n|# m_Current\l|# btree_iterator()\l# btree_iterator()\l# equal()\l# dereference()\l# increment()\l}" alt="" coords="71,318,209,469"/><area shape="rect" id="node5" title="STL class. " alt="" coords="277,161,389,239"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2d2e4be80bd9f420f209465b595fb146"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2d2e4be80bd9f420f209465b595fb146"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>btree_preorder_iterator</b> (N *node)</td></tr>
<tr class="separator:a2d2e4be80bd9f420f209465b595fb146"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa601bda88a4be48f38d6438260f0001"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa601bda88a4be48f38d6438260f0001"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>increment</b> ()</td></tr>
<tr class="separator:afa601bda88a4be48f38d6438260f0001"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a142dc25e4c41f10c96cc738182d2eb18"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a142dc25e4c41f10c96cc738182d2eb18"></a>
N *&#160;</td><td class="memItemRight" valign="bottom"><b>m_NextNode</b></td></tr>
<tr class="separator:a142dc25e4c41f10c96cc738182d2eb18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a790df750993384cb0c3056c0dd780cc0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a790df750993384cb0c3056c0dd780cc0"></a>
std::stack&lt; N * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_Stack</b></td></tr>
<tr class="separator:a790df750993384cb0c3056c0dd780cc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classtree_1_1btree__iterator"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classtree_1_1btree__iterator')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classtree_1_1btree__iterator.html">tree::btree_iterator&lt; T, N &gt;</a></td></tr>
<tr class="memitem:a9d7d63a542d5ed607bc93363080b247f inherit pro_methods_classtree_1_1btree__iterator"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d7d63a542d5ed607bc93363080b247f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>btree_iterator</b> (N *node)</td></tr>
<tr class="separator:a9d7d63a542d5ed607bc93363080b247f inherit pro_methods_classtree_1_1btree__iterator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaa03d21cddbb44f64abdfcfc92a15b4 inherit pro_methods_classtree_1_1btree__iterator"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adaa03d21cddbb44f64abdfcfc92a15b4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>equal</b> (const <a class="el" href="classtree_1_1btree__iterator.html">btree_iterator</a>&lt; T, N &gt; &amp;other) const </td></tr>
<tr class="separator:adaa03d21cddbb44f64abdfcfc92a15b4 inherit pro_methods_classtree_1_1btree__iterator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2614a710559163bd7f8b8b9ea2998073 inherit pro_methods_classtree_1_1btree__iterator"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2614a710559163bd7f8b8b9ea2998073"></a>
T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>dereference</b> () const </td></tr>
<tr class="separator:a2614a710559163bd7f8b8b9ea2998073 inherit pro_methods_classtree_1_1btree__iterator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classtree_1_1btree__iterator"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classtree_1_1btree__iterator')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classtree_1_1btree__iterator.html">tree::btree_iterator&lt; T, N &gt;</a></td></tr>
<tr class="memitem:a3fe0a773310404a612dc9a46abfd5471 inherit pro_attribs_classtree_1_1btree__iterator"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fe0a773310404a612dc9a46abfd5471"></a>
N *&#160;</td><td class="memItemRight" valign="bottom"><b>m_Current</b></td></tr>
<tr class="separator:a3fe0a773310404a612dc9a46abfd5471 inherit pro_attribs_classtree_1_1btree__iterator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T, typename N&gt;<br/>
class tree::btree_preorder_iterator&lt; T, N &gt;</h3>

<p>traverses the tree in preorder(root, left, right) using a stack </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>tree/<a class="el" href="binary__tree__iter_8h_source.html">binary_tree_iter.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>tree</b></li><li class="navelem"><a class="el" href="classtree_1_1btree__preorder__iterator.html">btree_preorder_iterator</a></li>
    <li class="footer">Generated on Tue Feb 25 2014 17:11:52 for SYMMETRY by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
